[ACM] Some more fixes
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 30 Jul 2007 15:03:16 +0000 (16:03 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 30 Jul 2007 15:03:16 +0000 (16:03 +0100)
commit9039ed2bed95843c9ee574e988f193432817596d
tree6556ef706e23c62d58b0a95a2d4c624c2720fe5b
parentcb2567cc912416c428deae9b7b07a08983c10785
[ACM] Some more fixes

 - don't reload the policy if it has been loaded
 - don't always load the policy in the test suite when the policy is
   already loaded
 - skip tests 07 and 09 when ACM is not enabled and xm is not using the
   Xen-API
 - fix a problem when trying to remove an invalid label

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/util/acmpolicy.py
tools/xm-test/lib/XmTestLib/acm.py
tools/xm-test/tests/security-acm/07_security-acm_pol_update.py
tools/xm-test/tests/security-acm/09_security-acm_pol_update.py